BoxDimensions.Y = 10;
BoxDimensions.W = 10;
BoxDimensions.Z = 10;
+ MaxVelocity = 8;
InitBox();
particleEngine = ParticleEffectFactory.CreateBullet(position);
}
protected override void Die()
{
ActorManager.CheckOut(this);
+ Renderer.CheckOut(this);
Parent.Children.Remove(this);
}
+
+ public override void CleanUp()
+ {
+ base.CleanUp();
+ this.particleEngine = null;
+ }
}
}